package com.bage.finance.biz.service;

import com.bage.finance.biz.domain.MemberBindPhone;
import com.bage.finance.biz.dto.form.UpdatePasswordForm;

public interface MemberBindPhoneService {

    /**
     * 根据手机号获取用户信息
     * @param phone
     * @return
     */
    MemberBindPhone getMemberByPhone(String phone);

    /**
     * 会员绑定手机表
     * @param phone
     * @param memberId
     * @param password
     */
    boolean reg(String phone, long memberId, String password);

    /**
     * 修改密码
     * @param form
     * @return
     */
    Boolean updatePassword(UpdatePasswordForm form);
}
